package com.biao.java8.jdk8interface;

public class TestInterfaceMain {
    public static void main(String[] args) {
        JDK8Interface jdk8InterfaceObject = new JDK8InterfaceImpl();
        jdk8InterfaceObject.add();
        jdk8InterfaceObject.defaultTest();

        // 静态方法要通过接口名才能调用
        JDK8Interface.staticTest();
        JDK8Interface.staticTest222();
    }
}
